package com.redis;

import redis.clients.jedis.Jedis;

public class RedisAndLuaDemo {

	public static void main(String[] args) {
		Jedis jedis = RedisManager.getJedis();
		String script = "return redis.call('get','name');";
		String scriptLoad = jedis.scriptLoad(script);
		Object eval = jedis.evalsha(scriptLoad );
		System.out.println(eval);

	}

}
